package com.ssh.entity;

import java.util.List;

/**
 * 分页bean
 * @author smfx1314
 *
 * @param <T>
 */
public class PageBean<T> {
	//当前页
	private Integer currenPage;
	//总记录数
	private Integer totalCount;
	//每页显示几条
	private Integer pageSize;
	//总页数
	private Integer totalPage;
	//起始位置
	private Integer begin;
	//每页显示的数据
	private List<T> list;
	public List<T> getList() {
		return list;
	}
	public void setList(List<T> list) {
		this.list = list;
	}
	public Integer getCurrenPage() {
		return currenPage;
	}
	public void setCurrenPage(Integer currenPage) {
		this.currenPage = currenPage;
	}
	public Integer getTotalCount() {
		return totalCount;
	}
	public void setTotalCount(Integer totalCount) {
		this.totalCount = totalCount;
	}
	public Integer getPageSize() {
		return pageSize;
	}
	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}
	public Integer getTotalPage() {
		return totalPage;
	}
	public void setTotalPage(Integer totalPage) {
		this.totalPage = totalPage;
	}
	public Integer getBegin() {
		return begin;
	}
	public void setBegin(Integer begin) {
		this.begin = begin;
	}
	

}
